Tutorial 12: Selection & Kill Filters | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
What are Selection and Kill Filters? |
Selection and kill filters are used to select which articles you wish to
read (or not to read) when reading a group. It's possible to make
selection and kill filters group specific, or to apply them to any subset
of groups, such as "*.binaries.*". Both selection and kill filters use the same type of filters (as opposed to display filters, which are a different thing altogether). Both act upon articles, returning a "yes" or "no" answer for whether a given article matches a given filter. For example, you might define a filter to match all articles that are crossposted to more than 3 groups, or a filter to match all articles that are a followup to any article posted by yourself. It is also possible to combine filters using and and or logic to form more complex queries. There are two main uses for these filters:
Proper use of kill and selection filters can greatly increase the signal to noise ratio of usenet. NewsRog provides unusually powerful selection and kill filter capabilities compared to almost any other newsreader. This section of the documentation discusses general filter topics. The specifics of each different type of filter are covered in the reference section of this documentation. |
Filter Scope | Filters can be defined within the context of a particular group, in which case they apply only to that group, or they can be defined globally to apply to groups matching any particular pattern (set in the Group Patt area of the filter list). Global filters are defined in the configuration editor for NewsRog. Group specific filters are defined from within the group reader window. Generally, if a filter is to apply to more than one group (for example, to comp.*) it is best to define it once in the configuration editor instead of duplicating the filter in each group. |
Adding and Deleting Filters |
In each filter list there is an Add button that, when pressed, will
display a popup list of available filters. Filters are plug-ins,
so the list may change depending on which filters are currently
installed. The popup filter list looks like this:
A filter may be added by double clicking on it's name in the popup list. The list may be closed without adding a filter by clicking the Add button again. Note that you are not limited to one instance of each type of filter. You might, for example, add several Header Match filters for different purposes. Removing filters is a simple matter of selecting those to be removed and using the Delete button. |
Editing Filters |
Each filter provides a user interface for customizing its operation. For
example, a crosspost limiting filter might allow you to edit the maximum
and minimum number of crossposts allowed in any article it matches. A
header match filter might allow you to edit a list of patterns to be
contained in the headers of articles it matches. The user interface for any filter may be called up by either double clicking on the name of the filter in the filter list, or by using the Edit button. |
Common Filter Features |
Certain information is available in every type of selection filter.
Calling up the editor for a particular filter reveals three main click
tabs:
|
Global Info |
The global info area looks like this:
The following features are available here:
The filte description may also be changed by typing into the name box in a filter list when a particular filter is selected. The Enabled and Invert options may be toggled on and off from the filter list by clicking in the appropriate column of the list:
|
Filter Stats |
Certain information about filters is tracked to enable you to easily see
how filters are performing. The statistics area looks like this:
The Total History area presents a cumulative count of the number of successful and attempted matches for this filter. For example, if there are 100 articles in a group, and a particular filter matches 35 of them, then the components of the Total History area will increment by 35 and 100 respectively each time the filter is used. The Last Use area is similar, but it resets for each use of the filter. For example, if you perform some operation in the group window's user interface that requires re-running filters, the Last Use area statistics will reset each time. The Last Match is the date on which the filter last successfully matched any article. This is used to determine when to expire articles that use the Expire Disuse feature. Pressing the Reset button will reset all the statistics to zero. Pressing the Update button will update the Last Match date to today's date. This way you can "force" a filter that would have otherwise expired to start it's internal clock over, so to speak. Some other filter statistics such as a percentage match number are available from the filter lists. |
Summary |
By this point in the tutorial you should understand:
|